home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Tools & Apps / Networking & Communications / Serial Switch 1.1 / Serial Switch Read Me! next >
Encoding:
Text File  |  1992-02-14  |  2.8 KB  |  49 lines  |  [TEXT/ttxt]

  1. 2/12/92
  2.  
  3. Macintosh IIfx Serial I/O Processor
  4.  
  5. The native mode of the IIfx uses a special processor (called an I/O processor, or IOP for short) to handle all serial work, thus increasing overall machine performance by off-loading this task from the CPU.  However, applications must sacrifice direct serial chip (SCC) access for this performance gain, because while the IOP is operating, the SCC is not visible in the IIfx I/O memory map.  Many times this is not a problem; however, some applications must directly access the SCC in order to gain functionality not otherwise available.
  6.  
  7.  
  8. Bypassing the serial IOP
  9.  
  10. Fortunately, the IIfx serial IOP is capable of running in a special "IOP Bypass" mode which removes the IOP and instead allows direct access to the SCC.  The bypass mechanism is controlled through a special cdev named the IIfx Serial Switch.
  11.  
  12. The Serial Switch allows applications which must directly access the SCC to bypass the IOP - while sacrificing the increased performance the IOP would bring.  The switch is so named because presents the user with a binary choice of "Faster" or "Compatible" modes.
  13.  
  14.  
  15. How the cdev works
  16.  
  17. Depending on the user's choice, this cdev sets a bit in parameter RAM which the IIfx checks during start up.  If "Faster" mode is chosen (the default), then the IIfx uses the serial I/O processor; if the "Compatible" mode is chosen, then the IIfx disables the IOP and lets the 68030 CPU handle SCC processing, thus allowing direct SCC access.
  18.  
  19.  
  20. Legal Mumbo-Jumbo
  21.  
  22. If you want to ship an application that requires the Serial Switch 1.1 cdev then you must license the cdev from Apple Software Licensing.  Contact:
  23.  
  24.                 Apple Software Licensing
  25.                 Apple Computer, Inc.
  26.                 20525 Mariani Avenue, M/S 38-I
  27.                 Cupertino, CA  95014
  28.                 (408) 974-4667
  29.                 AppleLink: Sw.License
  30.                 Internet:  Sw.License@AppleLink.Apple.com
  31.  
  32.  
  33. Warning
  34.  
  35. There is no way for an application to determine in which mode it is running; therefore, if the machine is in "Faster" mode and an application attempts a direct call to the SCC, the machine crashes.  Wherever possible therefore, we recommend use of the Macintosh built in drivers, such as the serial driver to isolate you from the underlying hardware.
  36.  
  37.  
  38. Further Reference:
  39. ________________________________________________________________________
  40. •  Guide to the Macintosh Family Hardware, Second Edition
  41. •  Inside Macintosh, Volume V, Compatibility Guidelines
  42. •  Inside Macintosh, Volume V, Deferred Task Manager
  43. •  Technical Note #2, Compatibility Guidelines
  44. •  Technical Note #117, Compatibility:  Why and How
  45. •  Technical Note #129, _SysEnvirons:  System 6.0 and Beyond
  46. •  Technical Note #261, Cache as Cache Can.
  47. •  Technical Note #272, What Your Sony Drives For You.
  48. •  Technical Note #273, SCSI Termination
  49.